#define _CRT_SECURE_NO_WARNINGS
#include"priority_queue.h"
using namespace std;



int main()
{
	cxs::priority_queue<int, vector<int>,greater<int>> pq;
	
	pq.push(9);
	pq.push(5);
	pq.push(8);
	pq.push(0);
	pq.push(6);
	pq.push(2);
	pq.push(3);

	while (!pq.empty())
	{
		cout << pq.top() << " ";
		pq.pop();
	}


	return 0;
}